﻿using System;
using System.Collections.Generic;
using System.Text;
using Common;
using Common.Configuration;

namespace OC
{
    public class DataHelper : IBatisHelper
    {
        private static DataHelper _instance = new DataHelper();

        public DataHelper()
            : base(ConfigurationManager.AppSettings["ProviderName"],
                ConfigurationManager.AppSettings["Ultimus.Extend.ConnectionString"],
            typeof(DataHelper),
                "OC.Configuration.SqlMap.config")
        {
        }


        public static DataHelper Instance()
        {
            return _instance;
        }
    }
}
